package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName department_management
 */
@TableName(value ="department_management")
@Data
public class DepartmentManagement implements Serializable {
    /**
     * ID
     */
    @TableId(value = "depart_id", type = IdType.AUTO)
    private Integer departId;

    /**
     * 部门名称
     */
    @TableField(value = "depart_name")
    private String departName;

    /**
     * 上级部门
     */
    @TableField(value = "father_depart")
    private String fatherDepart;

    /**
     * 部门等级
     */
    @TableField(value = "depart_level")
    private String departLevel;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
